package com.neo.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.neo.entity.ShopEntity;
import com.neo.mapper.ShopEntityMapper;

/**
 * 门店service实现
 * @author Administrator
 *
 */
@Service
public class ShopServiceImpl implements IShopService{

	@Autowired
	private  ShopEntityMapper shopEntityMapper;
	@Override
	public List<ShopEntity> getFoodListAll() {
		List<ShopEntity> selectAll = shopEntityMapper.selectAll();
		System.out.println(selectAll.size());
		return shopEntityMapper.getShopListAll(1);
	}
	
}
